import React, { useState } from 'react'
import { View, Text, Input, Image, Textarea } from '@tarojs/components'
import PageWrapper from '@/components/PageWrapper'

import './index.scss';
import {navigateTo} from "@/utils/navigation";
const Page = () => {

  return (
    <PageWrapper title="内部鉴定工具" showBack={true} backgroundColor='#F0F0F0'>
      <View className="box">
        <View className="tool">
          <View className="tool-item" onClick={() => navigateTo('/pages/user/identification-list/index')}>
            <View className="title-box">
              <Text className="title">鉴定</Text>
              <Text className="title2">JIANDING</Text>
            </View>
            <Image className="tool-img" src={require(`../../../assets/user/tool/authenticate.png`)}></Image>
          </View>
          <View className="tool-item" onClick={() => navigateTo('/pages/user/scan-code-warehous/index')}>
            <View className="title-box">
              <Text className="title">入库</Text>
              <Text className="title2">RUKU</Text>
            </View>
            <Image className="tool-img" src={require(`../../../assets/user/tool/warehouse.png`)}></Image>
          </View>
        </View>
        <View className="history" onClick={() => navigateTo('/pages/user/identification-history/index')}>
          <View className="title-box" >
            <Text className="title">历史</Text>
            <Text className="title2">LISHI</Text>
          </View>
          <Image className="history-img" src={require(`../../../assets/user/tool/history.png`)}></Image>
        </View>
      </View>
    </PageWrapper>
  )
}

export default Page
